package org.brisling.supply.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 
 * <p>Title: SupplyBadInfo</p>
 * <p>Description: 供应商不良记录实体类</p>
 * <p>Company: tongking</p> 
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年6月1日 下午10:23:15
 */
@Entity
@Table(name=ConstSysParam.MODULE_SUPPLY_BADINFO)
public class SupplyBadInfo extends BaseDomain implements BaseDomainInf{

	
	
	/**
	 * 供应商id及名称
	 */
	private Long supply_id;
	
	private String supply_name;

	public Long getSupply_id() {
		return supply_id;
	}


	public void setSupply_id(Long supply_id) {
		this.supply_id = supply_id;
	}


	public String getSupply_name() {
		return supply_name;
	}

	
	public void setSupply_name(String supply_name) {
		this.supply_name = supply_name;
	}
	
	/*记录时间*/
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date record_time;



	public Date getRecord_time() {
		return record_time;
	}


	public void setRecord_time(Date record_time) {
		this.record_time = record_time;
	}

	/*不良记录实情*/	
	private String record_text;

	public String getRecord_text() {
		return record_text;
	}


	public void setRecord_text(String record_text) {
		this.record_text = record_text;
	}


}
